<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
    <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <meta HTTP-EQUIV="expires" CONTENT="0">
    <link rel="shortcut icon" href="./images/icon.png" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>东明家居集团-市场信息管理系统</title>
<link rel="stylesheet" href="css/iview.css">
<link rel="stylesheet" href="css/style.css">
<link href="./js/toastr/toastr.css" rel="stylesheet">
</head>
<body>
<div class="container-fluid" id="app">
     <!-- breadcrumb -->
      <template class="page-header">
          <breadcrumb class="pull-left">
              <breadcrumb-item to="welcome.html" >首页</breadcrumb-item>
              <breadcrumb-item>商户添加</breadcrumb-item>
          </breadcrumb>
      </template>
      <!-- 表单 -->
      <div class="table-content">
          <template>
              <i-form :model="formItem" label-position="right" :label-width="133">
                  <row style="display: none">
                      <i-col span="9" offset="1">
                          <Form-item label="中心店面：" >
                              <i-input v-model="formItem.Store" readonly="readonly"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="部门：" >
                              <i-input v-model="formItem.Bm" readonly="readonly"></i-input>
                          </Form-item>
                      </i-col>
                  </row>

                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="姓名：" >
                              <i-input v-model="formItem.Name"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="性别：" >
                              <i-select  v-model="formItem.Sex" placeholder="性别：">
                                  <i-option  value="男"  >男</i-option>
                                  <i-option  value="女"  >女</i-option>
                              </i-select>
                          </Form-item>
                      </i-col>
                  </row>

                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="手机号1：">
                              <i-input v-model="formItem.Tel1"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="手机号2：">
                              <i-input v-model="formItem.Tel2"></i-input>
                          </Form-item>
                      </i-col>
                  </row>

                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="同行业情况：">
                              <i-input v-model="formItem.Fixtel"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="身份证号：">
                              <i-input v-model="formItem.CardNo"></i-input>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>
                      <i-col span="18" offset="1">
                          <Form-item label="住址：">
                              <v-distpicker :province="formItem.province" @province="changeProvince"
                                            :city="formItem.city" @city="changeCity"
                                            :area="formItem.area" @area="changeArea"
                                            class="form-control"></v-distpicker>
                          </Form-item>
                      </i-col>

                  </row>
                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="详细地址：">
                              <i-input v-model="formItem.Jiguan"></i-input>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="生日：">
                              <i-col span="24">
                                  <Date-picker type="date" placeholder="请选择日期" v-model="formItem.Birthday"  format="yyyy-MM-dd"></Date-picker>
                              </i-col>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="阴/阳历：">
                              <i-col span="24">
                                  <i-select  v-model="formItem.YinOrYang" placeholder="阴/阳历：">
                                      <i-option  value="阴历"  >阴历</i-option>
                                      <i-option  value="阳历"  >阳历</i-option>
                                  </i-select>
                              </i-col>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="曾代理品牌：">
                              <i-input v-model="formItem.PastDaiBrand"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="开始经营家具时间：">
                              <i-col span="24">
                                  <Date-picker type="date" placeholder="请选择日期" v-model="formItem.StartTime"  format="yyyy-MM-dd"></Date-picker>
                              </i-col>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="所获荣誉：">
                              <i-input v-model="formItem.Relations"></i-input>
                          </Form-item>
                      </i-col>
                      <i-col span="9" offset="1">
                          <Form-item label="星级：">
                              <i-col span="24">
                                  <i-select  v-model="formItem.ShStar" placeholder="星级：">
                                      <i-option  value="一星"  >一星</i-option>
                                      <i-option  value="二星"  >二星</i-option>
                                      <i-option  value="三星"  >三星</i-option>
                                      <i-option  value="四星"  >四星</i-option>
                                      <i-option  value="五星"  >五星</i-option>
                                  </i-select>
                              </i-col>
                          </Form-item>
                      </i-col>
                  </row>
                  <row>
                      <i-col span="9" offset="1">
                          <Form-item label="招商过程：">
                              <i-input v-model="formItem.ZsProgress" type="textarea" :rows="4"></i-input>
                          </Form-item>
                      </i-col>
                  </row>

                  <row style="margin-left: 130px;">
                       <i-col span="10" offset="1">
                             <i-button type="primary" class="mr10" @click="saveSHInfo">保存</i-button><i-button @click="goBack">取消</i-button>
                       </i-col>
                  </row>
              </i-form>
          </template>
      </div>
</div>
</body>
<script src="./js/jquery-1.11.1.min.js"></script>
<script src="./js/vue.js"></script>
<script src="./js/iview.min.js"></script>
<script src="./js/pca/v-distpicker.js"></script>
<script src="./js/sh/sh_add.js"></script>
<script src="./js/toastr/toastr.min.js"></script>

</html>
